import request from "./request";
export default {
  ClazzPagedList(data) {
    return request({
      url: "/api/Clazz/PagedList",
      method: "post",
      data,
    });
  },
  // 发布作业
  TeacherCreateHomework(data) {
    return request({
      url: "/api/Homework/TeacherCreateHomework",
      method: "post",
      data,
    });
  },
  //作业列表
  
   HomeworkPagedList(data) {
    return request({
      url: "/api/Homework/PagedList",
      method: "post",
      data,
    });
  },

  //作业详情
  HomeworkFetchModel(data) {
    return request({
      url: "/api/Homework/FetchModel",
      method: "post",
      data,
    });
  },
   //实验报告详情
  ReportFetchModel(data) {
   
    return request({
      url: "/api/Report/FetchModel",
      method: "post",
      data,
    });
  },
  //实验报告作业评分新增
  ReportScoreCreate(data) {
    
    return request({
      url: "/api/ReportScore/Create",
      method: "post",
      data,
    });
  },

  HomeworkDelete(data) {
    //作业删除
    return request({
      url: "/api/Homework/Delete",
      method: "post",
      data,
    });
  },
  MyTeacherSummary(data) {
    //我的教师信息汇总
    return request({
      url: "/api/Teacher/MyTeacherSummary",
      method: "post",
      data,
    });
  },
  DeleteClazz(data) {
    //删除班级
    return request({
      url: "/api/Clazz/Delete",
      method: "post",
      data,
    });
  },
  CreateClazz(data) {
    //创建班级
    return request({
      url: "/api/Clazz/Create",
      method: "post",
      data,
    });
  },
  UserMyTeacherIds(data) {
    //教师id
    return request({
      url: "/api/User/MyTeacherIds",
      method: "post",
      data: data,
    });
  },

  TeacherExperimentPagedList(data) {
    //授课试验记录
    return request({
      url: "/api/TeacherExperiment/PagedList",
      method: "post",
      data: data,
    });
  },
  //班级详情
  ClazzFetchModel(data) {
    return request({
      url: "/api/Clazz/FetchModel",
      method: "post",
      data: data,
    });
  },
  //班级学生列表
  ClassStudentPagedList(data) {
    return request({
      url: "/api/ClassStudent/PagedList",
      method: "post",
      data: data,
    });
  },
  ClazzUpdate(data) {
    //创建邀请码
    return request({
      url: "/api/Clazz/Update",
      method: "post",
      data: data,
    });
  },
  ClassStudentDelete(data) {
    //学生的班级删除
    return request({
      url: "/api/ClassStudent/Delete",
      method: "post",
      data,
    });
  },
  UserResetUserPassword(data) {
    return request({
      url: "/api/User/ResetUserPassword",
      method: "post",
      data: data,
    });
  },
  TeacherUpdate(data) {
    return request({
      url: "/api/Teacher/Update",
      method: "post",
      data: data,
    });
  },
  UserUpdate(data) {
    return request({
      url: "/api/User/Update",
      method: "post",
      data: data,
    });
  }
};

